import request from "@/utils/request";

export const getPropertyList = (data) => {
    return request({
        url: "/intra/monitor/monitordeviceproperty/list",
        method: "get",
        params: data,
    });
};
export const delProperty = (data) => {
    return request({
        url: "/intra/monitor/monitordeviceproperty/delete",
        method: "delete",
        data,
    });
};
export const getPropertyDetailById = (id) => {
    return request({
        url: `/intra/monitor/monitordeviceproperty/detail/${id}`,
        method: "get",
    });
};
export const saveProperty = (data) => {
    return request({
        url: `/intra/monitor/monitordeviceproperty/submit`,
        method: "post",
        data,
    });
};